// 用户信息
export interface UserInfoSearch {
  pageNum: number,
  pageSize: number
  tags?: string
  country?: string
}
export interface UserInfo {
  admin: boolean
  avatar: string
  city: string | null
  country: string | null
  createBy: string
  createTime: string
  delFlag: string | number
  dept: any
  deptId: number | null
  email: string | null
  loginDate: string
  loginIp: string
  nickName: string | null
  password: string
  phonenumber: string
  postIds: any
  remark: string | null
  roleId: number | null
  roleIds: any
  roles: any[]
  sex: string | number
  status: string
  tags: any
  updateBy: string | null
  updateTime: string | null
  userId: number
  userName: string
}
export interface EditUserInfo {
  nickName: string,
  email?: string,
  phonenumber?: string
  sex: number
  tags: string
  country: string,
  city: string,
  remark?: string
}
interface AdvLetter {
  content: string
  createBy: null | string
  createTime: string
  id: number
  isRead: number
  receiveUser: null | UserInfo
  receiveUserId: number
  remark: null | string
  sendUser: null | UserInfo
  sendUserId: number
  updateBy: null | string
  updateTime: null | string
}
// 私信列表
export interface LetterList {
  advLetter: AdvLetter | null
  createBy: null
  createTime: null
  id: number
  letterUser: UserInfo
  letterUserId: number
  remark: null
  unreadQuantity: number
  updateBy: null
  updateTime: null
  userId: number
}
export interface MessageDetail {
  content: string
  createBy: null | string
  createTime: string
  id: number
  isRead: number
  receiveUser: UserInfo
  receiveUserId: number
  remark: null
  sendUser: UserInfo
  sendUserId: number
  updateBy: null | string
  updateTime: null | string
}